package com.hj.calendar.domain.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @author hj
 * @Date 2023/5/22
 * @Description:
 */
@Data
@Schema(name = "飞书/钉钉日历模型")
public class CaldavModel {

    @Schema(name = "uid",description = "uid")
    private String uid;

    @Schema(name = "startTime",description = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date startTime;

    @Schema(name = "endTime",description = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date endTime;

    @Schema(name = "summary",description = "主题")
    private String summary;

    @Schema(name = "description",description = "描述")
    private String description;

    @Schema(name = "location",description = "地点")
    private String location;





}
